#ifndef PLAYER_H
#define PLAYER_H
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include <string>

class Player
{
    public:
        Player();
        Player(int x_val, int y_val,
               int w_val, int h_val);
        Player(int x_val, int y_val,
               int w_val, int h_val,
               std::string filename);

        int get_x(); void set_x(int x_val);
        int get_y(); void set_y(int y_val);
        int get_w(); void set_w(int w_val);
        int get_h(); void set_h(int h_val);
        int get_steps(); void set_steps(int step_val);
        int get_health_max(); void set_health_max(int health_max_val);
        void set_position(int x_val, int y_val);
        virtual ~Player();
        void Move();
        void Move(int direction, SDL_Surface* screen);
        void Clean();
        SDL_Surface* image_load(std::string file_name);
        void Draw(SDL_Surface*); //Screen Reference
    protected:
    private:
        SDL_Surface* sprite;
        SDL_Rect rect;
        SDL_Event event;
        std::string sprite_file;
        int steps;
        int health_current;
        int health_max;
};




#endif // PLAYER_H
